package com.mlh.myspring.ioc;

//BeanDefinition用于封装/记录Bean的信息[1.scope 2.bean对应的class对象，通过反射来生成对象]
public class BeanDefinition {
	private String scope;
	private Class clazz;

	public void setScope(String scope) {
		this.scope = scope;
	}

	public void setClazz(Class clazz) {
		this.clazz = clazz;
	}

	public String getScope() {
		return scope;
	}

	public Class getClazz() {
		return clazz;
	}

	@Override
	public String toString() {
		return "BeanDefinition{" +
				"scope='" + scope + '\'' +
				", clazz=" + clazz +
				'}';
	}
}
